﻿@model RIS.TMP.WEB.APP.Models.COutsource

@{
    ViewBag.Title = "Edit";
}
@section Settings{
<h2 class="sub-header">แก้ไขข้อมูลผู้ขายผู้ให้บริการ</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    

    <fieldset>

        @Html.HiddenFor(model => model.OutId)
        @Html.HiddenFor(model => model.RecordStatus)
        @Html.HiddenFor(model => model.CreateWhen)
        @Html.HiddenFor(model => model.CreateBy)
        @Html.HiddenFor(model => model.UpdateWhen)
        @Html.HiddenFor(model => model.UpdateBy)
        <hr />
        <div class="editor-label">
            <label class="control-label" for="select01">ชื่อผู้ขายหรือผู้ให้บริการ</label>
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OutName)
            @Html.ValidationMessageFor(model => model.OutName)
        </div>

        <div class="editor-label">
            <label class="control-label" for="select01">ที่อยู่</label>
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OutAddress)
            @Html.ValidationMessageFor(model => model.OutAddress)
        </div>

        <div class="editor-label">
            <label class="control-label" for="select01">เพิ่มเติม</label>
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Remarks)
            @Html.ValidationMessageFor(model => model.Remarks)
        </div>
        <hr />
        <p>
            <input type="submit" class="btn btn-primary" value="บันทึก" />
            @Html.ActionLink("Back to List", "Index", new object { }, new { @class = "btn btn-primary" })
        </p>
    </fieldset>
}
}
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <script type="text/javascript">
        $(".AE").show();
    </script>

}
